package com.mallcloud.mall.admin.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mallcloud.mall.common.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel(value = "SysFile", description = "文件")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "SYS_FILE", autoResultMap = true)
public class SysFile extends BaseModel {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "文件编号")
	private Long id;

	@ApiModelProperty(value = "文件名")
	private String fileName;

	@ApiModelProperty(value = "原始文件名")
	private String original;

	@ApiModelProperty(value = "存储桶名称")
	private String bucketName;

	@ApiModelProperty(value = "文件类型")
	private String type;

	@ApiModelProperty(value = "文件大小")
	private Long fileSize;

}
